package cate.game.rank.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBRank;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "排行榜点赞 的返回")
public class RankAdmireResp implements MsgOutput {
    @NoteField(value = "排行榜id")
    public int rankId;

    @NoteField(value = "排行")
    public int rank;

    @NoteField(value = "今日点赞次数")
    public int admireTimes;

    public RankAdmireResp(){

    }

    public RankAdmireResp(int rankId, int rank, int admireTimes){
        this.rankId = rankId;
        this.rank = rank;
        this.admireTimes = admireTimes;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBRank.ADMIRE_RESP;
    }
}
